<!--#include file="AspCms_linksFun.asp" -->
<% 
getContent
%>
<!DOCTYPE html>
<html lang="zh-CN" style="min-height: 100%;">
<head>
<title>LinksEdit</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

<link href="https://cdn.bootcss.com/uikit/3.0.0-beta.22/css/uikit.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/jquery.perfect-scrollbar/0.7.0/css/perfect-scrollbar.min.css" rel="stylesheet">
<link href="../../css/timoo/fancySelect.css" rel="stylesheet">
<link href="../../css/timoo/timoo.css" rel="stylesheet">

<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script src="../../ueditor/ueditor.config.js"></script>
<script src="../../ueditor/ueditor.all.min.js"> </script>
<script src="../../ueditor/lang/zh-cn/zh-cn.js"></script>
<script src="https://cdn.bootcss.com/uikit/3.0.0-beta.22/js/uikit.min.js"></script>
<script src="https://cdn.bootcss.com/uikit/3.0.0-beta.22/js/uikit-icons.min.js"></script>
<script src="https://cdn.bootcss.com/jquery.perfect-scrollbar/0.7.0/js/perfect-scrollbar.jquery.min.js"></script>
<script src="../../js/timoo/icheck.min.js"></script>
<script src="../../js/timoo/fancySelect.js"></script>
<script src="../../js/timoo/timoo.js"></script>
</head>
<body>
<div class="tm-right">
    <div class="main">
        <div class="section setting-company">
            <div class="layout">
                <div class="title">修改友情链接</div>
                <div class="content">
                    <form name="form" action="?action=edit" method="post">
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">网站名称</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="LinkText" value="<%=LinkText%>">
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">链接地址</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="200" name="LinkUrl" value="<%=LinkUrl%>">
                            </div>
                        </div>
                        <div class="tm-transition checkbox list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">是否启用</span>
                            </div>
                            <div class="uk-clearfix input">
                                <label for="Link-Status" class="uk-clearfix uk-float-left tm-transition">
                                    <span class="uk-float-left check">
                                        <i class="tm-transition icon" uk-icon="icon: check"></i>
                                    </span>
                                    <span class="uk-float-left">启用</span>
                                    <input id="Link-Status" type="checkbox" name="LinkStatus" <% if LinkStatus=1 then echo "checked='checked'"%>>
                                </label>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">排序</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="10" name="LinkOrder" value="<%=LinkOrder%>">
                            </div>
                        </div>
                        <div class="tm-transition radio table-select list hide">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">链接类型</span>
                            </div>
                            <div class="uk-clearfix input">
                                <li class="uk-clearfix uk-float-left input-select transverse-select">
                                    <select class="tm-select" name="LinkType" id="LinkType" onChange="selectLinkType(this.options[this.selectedIndex].value)">
                                        <option value="0" <% if LinkType="0" then echo "selected"%>>文字链接</option>
                                        <option value="1" <% if LinkType="1" then echo "selected"%>>图片链接</option>
                                    </select> 
                                </li>
                            </div>
                        </div>
                        <div class="tm-transition list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">链接分组</span>
                            </div>
                            <div class="input">
                                <input type="text" maxLength="10" name="Linkgroup" value="<%=Linkgroup%>">
                            </div>
                        </div>
                        <div class="tm-transition input list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">链接图片</span>
                                <i class="tm-transition icon" uk-icon="icon: info" uk-tooltip="pos: right" title="栏目图片，可在前台调用。"></i>
                            </div>
                            <div class="uk-clearfix input">
                                <input type="text" maxlength="255" name="ImageURL" id="ImageURL" value="<%=ImageURL%> ">
                            </div>
                        </div>
                        <div class="tm-transition list have upload picture-upload">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">上传链接图片</span>
                            </div>
                            <div class="input">
                                <iframe src="../../editor/upload.asp?sortType=11&stype=file&Tobj=ImageURL" scrolling="no" topmargin="0" width="100%" height="40" marginwidth="0" marginheight="0" frameborder="0" align="center"></iframe>
                            </div>
                        </div>
                        <div class="tm-transition textarea list">
                            <div class="uk-clearfix tm-transition subject">
                                <span class="uk-float-left">备注说明</span>
                            </div>
                            <div class="input">
                                <textarea type="text" name="LinkDesc"><%=LinkDesc%></textarea>
                            </div>
                        </div>
                        <div class="uk-clearfix tm-transition list submit">
                            <input type="hidden" size="10" name="LinkID" value="<%=ID%>">
                            <div class="uk-float-left input">
                                <input type="submit" value="修改">
                            </div>
                            <div class="uk-float-left input">
                                <input type="button" value="返回" onClick="history.go(-1)"> 
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>